package sample.cluster.trans2;

import akka.actor.UntypedActor;

/**
 * @author liuyi
 * @date 2017/03/13 17:26
 */
public class OtherActor extends UntypedActor {

    @Override
    public void onReceive(Object message) {

        if (message instanceof String) {
            System.out.println("Other actor:==================> " + message);
        } else {
            unhandled(message);
        }
    }

}